﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ModeloContabilLinha.aspx.vb" Inherits="ModeloContabilLinha" Culture="pt-BR" UICulture="pt-BR" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Sistema LIIOn</title>
    <style type="text/css">

        .style2
        {
            width: 186px;
        }
        .style3
        {
            height: 20px;
            width: 186px;
        }
        .style4
        {
            width: 552px;
        }
        </style>
</head>
<body>
    <form id="form2" runat="server">
    <table style="z-index: 100; left: 0px; top: 2px; position: absolute">
        <tr id="L1">
            <td id="L1C1" style="height: 68px; width: 10px;">
                &nbsp;
            </td>
            <td id="L1C2" style="height: 68px; width: 81%; background-color: black;">            
                <asp:Image ID="imgLogoEmpresa" runat="server" EnableViewState="False" ImageUrl="~/Imagens/SCJ_Logo2B.JPG"
                    Style="position: relative; left: 5px; top: 4px" />
                &nbsp;
                <asp:Label ID="lblModulo" runat="server" Style="position: relative; left: 9px; top: -21px" Text="Administrador" Width="300px" Font-Bold="True" ForeColor="White"></asp:Label>            
                <br />
                <asp:Label ID="lblModuloItem" runat="server" Style="z-index: 103; left: 182px; position: absolute;
                    top: 37px" Text="Modelo Contabil " Width="300px" Font-Bold="True" 
                    ForeColor="White"></asp:Label>
            </td>
            <td id="L1C3" style="height: 68px; width: 23%; background-color: black; border-top-style: solid; border-top-color: black; border-right-style: solid; border-right-color: black;">          
                <asp:Image ID="imgLogoLIIOn" runat="server" ImageUrl="~/Imagens/LIIOn_MiniLogo2.jpg"
                    Style="z-index: 104; left: 25%; position: relative; top: 1px" ImageAlign="Baseline" />
            </td>
        </tr>
        <tr id="L2">
            <td id="L2C1" style="height: 430px; width: 10px;">
                <br />                
            </td>            
            <td id="L2C2" style="height: 430px; width: 81%; background-color: #ffff82; border-right-style: solid; border-right-color: black;" valign="top">
                <table style="position: relative; top: 0px; left: 10px;" id="Header">
                    <tr>
                        <td align="right" class="style2">
                            <asp:Label ID="Label4" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="Holding:"></asp:Label>
                        </td>
                        <td style="width: 400px;">
                            <asp:Label ID="lblHolding" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" class="style2">
                            <asp:Label ID="Label5" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="* Companhia:"></asp:Label>
                        </td>
                        <td style="width: 400px;">
                            <asp:Label ID="lblCia" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" class="style3">
                            <asp:Label ID="Label10" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="* UF de origem:"></asp:Label>
                        </td>
                        <td style="width: 400px; height: 20px;">
                            <asp:Label ID="lblUFOrigem" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" class="style3">
                            <asp:Label ID="Label1" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="* UF de destino:"></asp:Label>
                        </td>
                        <td style="width: 400px; height: 20px;">
                            <asp:Label ID="lblUFDestino" runat="server" Font-Bold="True" 
                                Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" class="style3">
                            <asp:Label ID="Label2" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="* Natureza da Operação:"></asp:Label>
                        </td>
                        <td style="width: 400px; height: 20px;">
                            <asp:Label ID="lblNaturezaOpercao" runat="server" Font-Bold="True" 
                                Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" class="style3">
                            <asp:Label ID="Label9" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="* Categoria Fiscal:"></asp:Label></td>
                        <td style="width: 400px; height: 20px;">
                            <asp:Label ID="lblCategoriaFiscal" runat="server" Font-Bold="True" 
                                Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" class="style3">
                            <asp:Label ID="Label11" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="* Meio de Transporte:"></asp:Label></td>
                        <td style="width: 400px; height: 20px;">
                            <asp:Label ID="lblMeioTransporte" runat="server" Font-Bold="True" 
                                Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" class="style3">
                            <asp:Label ID="Label13" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="* Origem do Item:"></asp:Label></td>
                        <td style="width: 400px; height: 20px;">
                            <asp:Label ID="lblOrigemItem" runat="server" Font-Bold="True" 
                                Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" class="style3">
                            <asp:Label ID="Label14" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="* Destinação do Item:"></asp:Label></td>
                        <td style="width: 400px; height: 20px;">
                            <asp:Label ID="lblDestinacaoItem" runat="server" Font-Bold="True" 
                                Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" class="style3">
                            <asp:Label ID="Label3" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="* Data de Vigência:"></asp:Label></td>
                        <td style="width: 400px; height: 20px;">
                            <asp:Label ID="lblDataVigencia" runat="server" Font-Bold="True" 
                                Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" class="style3">
                            <asp:Label ID="Label6" runat="server" Font-Bold="False" Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static" Text="Modelo Tributario Proposto:"></asp:Label>
                        </td>
                        <td style="width: 400px; height: 20px;">
                            <asp:Label ID="lblModeloTributario" runat="server" Font-Bold="True" 
                                Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static"></asp:Label></td>
                    </tr>
                </table>
<table style="position: relative; top: 6px; left: 10px; width: 635px;" id="Header0">
                    <tr>
                        <td class="style4">
                            <asp:RadioButtonList ID="OptModelo" runat="server" AutoPostBack="True" 
                                RepeatDirection="Horizontal" Width="618px">
                                <asp:ListItem Value="DeclaracaoImportacao">Declaração Importação</asp:ListItem>
                                <asp:ListItem Value="NFSevico">NF Seviço</asp:ListItem>
                                <asp:ListItem Value="ControleDeDespesas">Controle de Despesas</asp:ListItem>
                                <asp:ListItem Value="NFEntrada">NF Entrada</asp:ListItem>
                                <asp:ListItem Value="NFSaida">NF Saída</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
                <asp:GridView ID="gvwData" runat="server" AllowPaging="True" AutoGenerateColumns="False" 
                    CellPadding="4" ForeColor="#333333" GridLines="None" 
                    HorizontalAlign="Center" PageSize="3" 
                    
                    style="z-index: 1; left: 26px; top: 373px; position: absolute; height: 25px; width: 679px; right: 171px; margin-left: 0px">
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" Font-Names="Tahoma" Font-Size="Small" />
                    <Columns>
                        <asp:BoundField DataField="LinhaContabil" HeaderText="Linha" 
                            SortExpression="LinhaContabil">
                            <HeaderStyle HorizontalAlign="Left" />
                            <ItemStyle HorizontalAlign="Right" Width="40px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TipoModeloContabil" HeaderText="Modelo" 
                            SortExpression="TipoModeloContabil">
                        <HeaderStyle HorizontalAlign="Left" VerticalAlign="Middle" />
                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="70px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CodigoDaConta" HeaderText="Cód.Conta" 
                            SortExpression="CodigoDaConta" >
                            <ItemStyle Width="100px" HorizontalAlign="Left" VerticalAlign="Middle" 
                            Wrap="False" />
                            <HeaderStyle HorizontalAlign="Left" />
                        </asp:BoundField>
			<asp:BoundField DataField="CredDeb" HeaderText="Débito/Crédito" SortExpression="CredDeb" >
                            <ItemStyle Width="40px" HorizontalAlign="Center" />
                <HeaderStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DescDoCampo" HeaderText="Desc.Campo"
                            SortExpression="DescDoCampo">
                            <HeaderStyle HorizontalAlign="Left" VerticalAlign="Middle" />
                            <ItemStyle HorizontalAlign="Left" Width="150px" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DescSplit" HeaderText="Split" 
                            SortExpression="DescSplit">
                            <HeaderStyle HorizontalAlign="Left" />
                            <ItemStyle HorizontalAlign="Left" Width="180px" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:CommandField SelectText="Sel" ShowSelectButton="True" >
                            <ItemStyle Width="20px" />
                            <HeaderStyle HorizontalAlign="Center" />
                        </asp:CommandField>
                    </Columns>
                    <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" Font-Names="Tahoma" Font-Size="Small" />
                    <EditRowStyle BackColor="#999999" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                </asp:GridView>
            </td>
            <td id="L2C3" style="height: 430px; width: 23%; background-color: white; border-right-style: solid; border-right-color: black;">          
                &nbsp;
            </td>            
        </tr>
        <tr id="L3">
            <td id="L3C1" style="height: 12px; width: 10px;">
                &nbsp;
            </td>
            <td id="L3C2" style="height: 12px; width: 81%; background-color: #ffff82; 
                border-right-color: black; border-right-style: solid;
                border-bottom-color: black; border-bottom-style: solid;">
                <asp:Label 
                    ID="lblMsg" runat="server" 
                    Style="position: static; width: 700px;" 
                    Text=" " 
                    Font-Bold="True" Font-Names="Tahoma" Font-Size="Small" ForeColor="Blue" Width="700px"></asp:Label>
            </td>
            <td id="L3C3" style="height: 12px; width: 23%; background-color: white; border-right-style: solid; border-right-color: black;">
                &nbsp;
            </td>
        </tr>
        <tr id="L4">
            <td id="L4C1" style="height: 30px; width: 10px;">
                &nbsp;
            </td>
            <td id="L4C2" style="height: 30px; width: 81%; background-color: black;">
                &nbsp;                
                <asp:Button ID="btnIncluir" runat="server" Style="z-index: 100; left: 1px; position: relative;
                    top: 1px; height: 26px;" Text="Incluir" Width="70px" Font-Names="Tahoma" Enabled="False" 
                />
                <asp:Button ID="BtnConsultar" runat="server" Style="z-index: 100; left: 3px; position: relative;
                    top: 1px; height: 26px;" Text="Consultar" Width="70px" Font-Names="Tahoma" Enabled="False"
                />
                <asp:Button ID="btnAlterar" runat="server" Style="z-index: 100; left: 5px; position: relative;
                    top: 1px; height: 26px;" Text="Alterar" Width="70px" Font-Names="Tahoma" Enabled="False"
                />
                <asp:Button ID="btnExcluir" runat="server" Style="z-index: 100; left: 7px; position: relative;
                    top: 1px; height: 26px; width: 70px;" Text="Excluir" Font-Names="Tahoma" Enabled="False"
                />&nbsp;
                <asp:Button ID="btnVoltar" runat="server" Style="z-index: 100; left: 15px; position: relative;
                    top: 1px; height: 26px;" Text="Voltar" Width="70px" Font-Names="Tahoma"
                />
            </td>
            <td id="L4C3" style="height: 30px; width: 23%; background-color: white; border-bottom-color: black; border-right-style: solid; border-right-color: black; border-bottom-style: solid;">          
                &nbsp;
            </td>            
        </tr>
    </table>
   </form>
</body>
</html>
